import request from '@/utils/request'

// 部门能耗分析-用电构成
export const getUsagePieApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/analysis/data/usage/pie', { params })

// 部门能耗分析-用电构成
export const getUsageLineApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/analysis/data/usage/line', { params })

// 部门能耗分析-同环比分析柱状图
export const getComparisonLineApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/analysis/data/comparison/line', { params })

// 部门能耗分析-同环比分析列表表格
export const getComparisonListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/analysis/data/comparison/list', { params })
